print("================可以有相同类型的元素==========================")
name_list = ['itcast', 'python']
print(f"打印list集合{name_list}")
print(f"list type is {type(name_list)}")
print("================嵌套==========================")

name_list = [[1, 2, 3], [4, 5, 6]]
print(f"打印list集合{name_list}")
print(f"list type is {type(name_list)}")

print("==================遍历列表中的值========================")
print(f"打印列表中第一个元素中的值{name_list[0]}")
print(f"打印列表中第一个元素中的值{name_list[0][1]}")

print("==================元素可以有多个类型的值，对元素类型没有要求========================")

name_list = [True, 1, 4.000, 'java']
print(f"打印list集合{name_list}")
print(f"list type is {type(name_list)}")

print("==================测试快捷键========================")
print(f"你好啊{name_list}")
